/*
 * <p>Copyright ®Alyce_WX版权所有。</p>
 * 类名:LogQO
 * 创建人:alyce_wx
 * 创建时间:2017-03-30
 */
package com.wx.demo.wcd.domain.qo;

import java.util.List;
import com.yjhl.framework.dao.query.QO;

/**
 * query class for Log 
 * @author alyce_wx
 * @since 1.8
 * @version 1.0.0  
 */
 
public class LogQO extends QO {
    private static final long serialVersionUID = 1L;
    
    /**
     * 日志表标识
     */
    private String logId;    
    private List<String> logId_list;
    private String logId_notnull = "N";
    private String logId_notequal;
    private boolean logId_like;
    
    /**
     * 用户标识
     */
    private String userId;    
    private List<String> userId_list;
    private String userId_notnull = "N";
    private String userId_notequal;
    private boolean userId_like;
    
    /**
     * 登录名
     */
    private String loginName;    
    private List<String> loginName_list;
    private String loginName_notnull = "N";
    private String loginName_notequal;
    private boolean loginName_like;
    
    /**
     * 用户IP
     */
    private String userIp;    
    private List<String> userIp_list;
    private String userIp_notnull = "N";
    private String userIp_notequal;
    private boolean userIp_like;
    
    /**
     * 浏览器版本
     */
    private String browserVersion;    
    private List<String> browserVersion_list;
    private String browserVersion_notnull = "N";
    private String browserVersion_notequal;
    private boolean browserVersion_like;
    
    /**
     * 请求时间
     */
    private java.util.Date requestTime;    
    private java.util.Date requestTime_from;
    private java.util.Date requestTime_thru;
    
    /**
     * 请求地址
     */
    private String requestHost;    
    private List<String> requestHost_list;
    private String requestHost_notnull = "N";
    private String requestHost_notequal;
    private boolean requestHost_like;
    
    /**
     * 操作说明
     */
    private String instruc;    
    private List<String> instruc_list;
    private String instruc_notnull = "N";
    private String instruc_notequal;
    private boolean instruc_like;
    
    public String getLogId() {
        return logId;
    }
    
    public void setLogId(String logId) {
        this.logId = logId;
    }
    public List<String> getLogId_list() {
        return logId_list;
    }
    
    public void setLogId_list(List<String> logId_list) {
        this.logId_list = logId_list;
    }
    public String getLogId_notequal() {
        return logId_notequal;
    }
    
    public void setLogId_notequal(String logId_notequal) {
        this.logId_notequal = logId_notequal;
    }
    public String getLogId_notnull() {
        return logId_notnull;
    }
    
    public void setLogId_notnull(String logId_notnull) {
        this.logId_notnull = logId_notnull;
    }
    
    public boolean isLogId_like() {
        return logId_like;
    }
    
    public void setLogId_like(boolean logId_like) {
        this.logId_like = logId_like;
    }
    
    public String getUserId() {
        return userId;
    }
    
    public void setUserId(String userId) {
        this.userId = userId;
    }
    public List<String> getUserId_list() {
        return userId_list;
    }
    
    public void setUserId_list(List<String> userId_list) {
        this.userId_list = userId_list;
    }
    public String getUserId_notequal() {
        return userId_notequal;
    }
    
    public void setUserId_notequal(String userId_notequal) {
        this.userId_notequal = userId_notequal;
    }
    public String getUserId_notnull() {
        return userId_notnull;
    }
    
    public void setUserId_notnull(String userId_notnull) {
        this.userId_notnull = userId_notnull;
    }
    
    public boolean isUserId_like() {
        return userId_like;
    }
    
    public void setUserId_like(boolean userId_like) {
        this.userId_like = userId_like;
    }
    
    public String getLoginName() {
        return loginName;
    }
    
    public void setLoginName(String loginName) {
        this.loginName = loginName;
    }
    public List<String> getLoginName_list() {
        return loginName_list;
    }
    
    public void setLoginName_list(List<String> loginName_list) {
        this.loginName_list = loginName_list;
    }
    public String getLoginName_notequal() {
        return loginName_notequal;
    }
    
    public void setLoginName_notequal(String loginName_notequal) {
        this.loginName_notequal = loginName_notequal;
    }
    public String getLoginName_notnull() {
        return loginName_notnull;
    }
    
    public void setLoginName_notnull(String loginName_notnull) {
        this.loginName_notnull = loginName_notnull;
    }
    
    public boolean isLoginName_like() {
        return loginName_like;
    }
    
    public void setLoginName_like(boolean loginName_like) {
        this.loginName_like = loginName_like;
    }
    
    public String getUserIp() {
        return userIp;
    }
    
    public void setUserIp(String userIp) {
        this.userIp = userIp;
    }
    public List<String> getUserIp_list() {
        return userIp_list;
    }
    
    public void setUserIp_list(List<String> userIp_list) {
        this.userIp_list = userIp_list;
    }
    public String getUserIp_notequal() {
        return userIp_notequal;
    }
    
    public void setUserIp_notequal(String userIp_notequal) {
        this.userIp_notequal = userIp_notequal;
    }
    public String getUserIp_notnull() {
        return userIp_notnull;
    }
    
    public void setUserIp_notnull(String userIp_notnull) {
        this.userIp_notnull = userIp_notnull;
    }
    
    public boolean isUserIp_like() {
        return userIp_like;
    }
    
    public void setUserIp_like(boolean userIp_like) {
        this.userIp_like = userIp_like;
    }
    
    public String getBrowserVersion() {
        return browserVersion;
    }
    
    public void setBrowserVersion(String browserVersion) {
        this.browserVersion = browserVersion;
    }
    public List<String> getBrowserVersion_list() {
        return browserVersion_list;
    }
    
    public void setBrowserVersion_list(List<String> browserVersion_list) {
        this.browserVersion_list = browserVersion_list;
    }
    public String getBrowserVersion_notequal() {
        return browserVersion_notequal;
    }
    
    public void setBrowserVersion_notequal(String browserVersion_notequal) {
        this.browserVersion_notequal = browserVersion_notequal;
    }
    public String getBrowserVersion_notnull() {
        return browserVersion_notnull;
    }
    
    public void setBrowserVersion_notnull(String browserVersion_notnull) {
        this.browserVersion_notnull = browserVersion_notnull;
    }
    
    public boolean isBrowserVersion_like() {
        return browserVersion_like;
    }
    
    public void setBrowserVersion_like(boolean browserVersion_like) {
        this.browserVersion_like = browserVersion_like;
    }
    
    public java.util.Date getRequestTime() {
        return requestTime;
    }
    
    public void setRequestTime(java.util.Date requestTime) {
        this.requestTime = requestTime;
    }
    public java.util.Date getRequestTime_from() {
        return requestTime_from;
    }
    
    public java.util.Date getRequestTime_thru() {
        return requestTime_thru;
    }
    
    public void setRequestTime_from(java.util.Date requestTime_from) {
        this.requestTime_from = requestTime_from;
    }
    
    public void setRequestTime_thru(java.util.Date requestTime_thru) {
        this.requestTime_thru = requestTime_thru;
    }
    
    public String getRequestHost() {
        return requestHost;
    }
    
    public void setRequestHost(String requestHost) {
        this.requestHost = requestHost;
    }
    public List<String> getRequestHost_list() {
        return requestHost_list;
    }
    
    public void setRequestHost_list(List<String> requestHost_list) {
        this.requestHost_list = requestHost_list;
    }
    public String getRequestHost_notequal() {
        return requestHost_notequal;
    }
    
    public void setRequestHost_notequal(String requestHost_notequal) {
        this.requestHost_notequal = requestHost_notequal;
    }
    public String getRequestHost_notnull() {
        return requestHost_notnull;
    }
    
    public void setRequestHost_notnull(String requestHost_notnull) {
        this.requestHost_notnull = requestHost_notnull;
    }
    
    public boolean isRequestHost_like() {
        return requestHost_like;
    }
    
    public void setRequestHost_like(boolean requestHost_like) {
        this.requestHost_like = requestHost_like;
    }
    
    public String getInstruc() {
        return instruc;
    }
    
    public void setInstruc(String instruc) {
        this.instruc = instruc;
    }
    public List<String> getInstruc_list() {
        return instruc_list;
    }
    
    public void setInstruc_list(List<String> instruc_list) {
        this.instruc_list = instruc_list;
    }
    public String getInstruc_notequal() {
        return instruc_notequal;
    }
    
    public void setInstruc_notequal(String instruc_notequal) {
        this.instruc_notequal = instruc_notequal;
    }
    public String getInstruc_notnull() {
        return instruc_notnull;
    }
    
    public void setInstruc_notnull(String instruc_notnull) {
        this.instruc_notnull = instruc_notnull;
    }
    
    public boolean isInstruc_like() {
        return instruc_like;
    }
    
    public void setInstruc_like(boolean instruc_like) {
        this.instruc_like = instruc_like;
    }
    

    @Override
	public String toString(){
		
		String toString = "{";
		  	 if(this.logId != null){
		   	 	toString += (this.logId+",");
		   	 }
		  	 if(this.userId != null){
		   	 	toString += (this.userId+",");
		   	 }
		  	 if(this.loginName != null){
		   	 	toString += (this.loginName+",");
		   	 }
		  	 if(this.userIp != null){
		   	 	toString += (this.userIp+",");
		   	 }
		  	 if(this.browserVersion != null){
		   	 	toString += (this.browserVersion+",");
		   	 }
		  	 if(this.requestTime != null){
		   	 	toString += (this.requestTime+",");
		   	 }
		  	 if(this.requestHost != null){
		   	 	toString += (this.requestHost+",");
		   	 }
		  	 if(this.instruc != null){
		   	 	toString += (this.instruc+",");
		   	 }
		  if(toString.lastIndexOf(",") == ( toString.length()-1)){
		  	toString = toString.substring(0, toString.length()-1);
		  }
		 toString += "}";
		return toString;
		
	}
	
	public String inputDescription(){
		
		String inputDescription = "{";
		   if(this.logId != null){
		   		inputDescription += (this.logId+" : 日志表标识,");
		   }
		   if(this.userId != null){
		   		inputDescription += (this.userId+" : 用户标识,");
		   }
		   if(this.loginName != null){
		   		inputDescription += (this.loginName+" : 登录名,");
		   }
		   if(this.userIp != null){
		   		inputDescription += (this.userIp+" : 用户IP,");
		   }
		   if(this.browserVersion != null){
		   		inputDescription += (this.browserVersion+" : 浏览器版本,");
		   }
		   if(this.requestTime != null){
		   		inputDescription += (this.requestTime+" : 请求时间,");
		   }
		   if(this.requestHost != null){
		   		inputDescription += (this.requestHost+" : 请求地址,");
		   }
		   if(this.instruc != null){
		   		inputDescription += (this.instruc+" : 操作说明,");
		   }
		  if(inputDescription.lastIndexOf(",") == ( inputDescription.length()-1)){
		  	inputDescription = inputDescription.substring(0, inputDescription.length()-1);
		  }
		  inputDescription += "}";
		
		return inputDescription;
		
	}
}
